<html>
<head>
<script>
function testShouldNotCrash()
{
    if (!window.testRunner)
        return;
    testRunner.dumpAsText();

    var host = document.createElement("blockquote");
    var shadow = host.attachShadow({mode: 'open'});
    var children = shadow.childNodes;
    document.body.appendChild(host);

    document.body.offsetLeft;
    document.body.innerHTML = "PASS unless crash";
}
</script>
</head>
<body onload="testShouldNotCrash()">
</body>
</html>
